package com.komon.factory;

import java.io.InputStream;

import com.komon.object.request.bodyIO.ChunkedRequestInputStream;
import com.komon.object.request.bodyIO.HttpRequestBodyEncodingInputStream;

public class TransferEncodingInputStreamFactory {
	public static HttpRequestBodyEncodingInputStream wrapInputStream(String transfer_encoding,  InputStream inputStream){
		if ("chunked".equalsIgnoreCase(transfer_encoding)) {
			 return new ChunkedRequestInputStream(inputStream);
		}
		//TODO others
		return null;
	}
}
